# frozen_string_literal: true

class DeleteMigrateEvidencesForVulnerabilityFindingsFromMainDatabase2 < Gitlab::Database::Migration[2.3]
  disable_ddl_transaction!

  restrict_gitlab_migration gitlab_schema: :gitlab_main
  milestone '18.3'

  def up
    delete_batched_background_migration(
      "MigrateEvidencesForVulnerabilityFindings",
      :vulnerability_occurrences,
      :id,
      []
    )
  end

  def down
    # no-op
  end
end
